package action;

public abstract class TimeAction extends Action {
	protected long intervalMill=30;
	
	public TimeAction(long cd)
	{
		this.intervalMill=cd;
		
		if(this.intervalMill<30)
			intervalMill=30;
	}
	public long getInterval()
	{
		return intervalMill;
	}
	
	public abstract void execute();
	

}
